package mapper;

import model.PrescriptionBatchDetail;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;

public interface PrescriptionBatchDetailMapper {
    @Insert("insert into prescription_batch_detail (prescription_detail_id, drug_batch_id, used_amount, production_date)" +
            "values (#{prescriptionDetailId},#{drugBatchId},#{usedAmount},#{productionDate})")
    int add(PrescriptionBatchDetail detail);
}
